home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 October: Mac OS SDK / Dev.CD Oct 96 SDK / Dev.CD Oct 96 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODFDev / ODF / Framewrk / FWSemEvt / Include / SLSemInt.idl < prev    next >
Encoding:
Text File  |  1996-08-16  |  2.1 KB  |  88 lines  |  [TEXT/MPS ]

  1. //
  2. //    File:                SLSemInt.idl
  3. //
  4. //    Contains:            Interface for FW_OSemanticInterface class
  5. //    Release Version:    $ ODF 1 $
  6. //
  7. //    Copyright:    (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  8. //
  9.  
  10. #ifndef SLSEMINT_IDL
  11. #define SLSEMINT_IDL
  12.  
  13. #ifndef _SEMTINTB_
  14. #include <SemtIntB.idl>
  15. #endif
  16.  
  17. //==============================================================================
  18. // Classes defined in this interface
  19. //==============================================================================
  20.  
  21. interface FW_OSemanticInterface;
  22.  
  23. //==============================================================================
  24. // Classes used in this interface
  25. //==============================================================================
  26.  
  27. interface FW_CSemanticInterface;
  28. interface ODPart;
  29. interface ODSession;
  30.  
  31. typedef somToken FW_HSemIntGlueProcs;
  32.  
  33. //========================================================================================
  34. //    FW_OSemanticInterface
  35. //========================================================================================
  36.  
  37. interface FW_OSemanticInterface : ODSemanticInterface
  38. {
  39.     void    InitODFSemanticInterface(in ODPart base,
  40.                                      in ODSession session,
  41.                                      in FW_CSemanticInterface semInt,
  42.                                      in FW_HSemIntGlueProcs semIntGlue);
  43.                                             
  44. #ifdef __SOMIDL__
  45.     implementation
  46.     {
  47.         functionprefix = FW_OSemanticInterface__;
  48.         
  49.         override:
  50.             somUninit,
  51.             Release,
  52.             CallEventHandler,
  53.             CallCoercionHandler,
  54.             CallPredispatchProc,
  55.             CallObjectAccessor,
  56.             CallCompareProc,
  57.             CallCountProc,
  58.             CallDisposeTokenProc,
  59.             CallGetErrDescProc,
  60.             CallGetMarkTokenProc,
  61.             CallMarkProc,
  62.             CallAdjustMarksProc;
  63.             
  64.         releaseorder:
  65.             InitODFSemanticInterface;
  66.         
  67.         majorversion = 1;
  68.         minorversion = 0;
  69.         
  70.         passthru C_xh =
  71.             "struct FW_SSemIntGlueProcs;"
  72.             "typedef FW_SSemIntGlueProcs* FW_HSemIntGlueProcs;";
  73.  
  74.         passthru C_xih =
  75.             "#ifndef PRSIGLTY_H"
  76.             "#include \"PRSIGlTy.h\""
  77.             "#endif";
  78.  
  79. #ifdef __PRIVATE__
  80.         FW_CSemanticInterface        fSemanticInterface;
  81.         FW_HSemIntGlueProcs            fGlueProcs;
  82. #endif // __PRIVATE__
  83.     };
  84. #endif // __SOMIDL__
  85. };
  86.  
  87. #endif // SLSEMINT_IDL
  88.